home *** CD-ROM | disk | FTP | other *** search
- #ifndef _umk_gogo
- #define _umk_gogo
-
- #include "mgraph.h"
-
- typedef struct {
- word width,height;
- word size;
- byte *img;
- } umkrec;
-
- typedef umkrec umkset[256];
- typedef byte colmat[256];
-
- void umk_free(umkset u);
- int umk_load(char *name,umkset u);
- int mat_load(char *name,colmat c);
- /* NOTE: DO NOT DRAW TO PHYSICAL SCREEN WITH THESE PROCEDURES!!! */
- void umk_draw(int x,int y,umkrec u,scrntype scrn);
- void umk_255draw(int x,int y,byte c,umkrec u,scrntype scrn);
- void umk_solid(int x,int y,byte col,umkrec u,scrntype scrn);
- void umk_shadowlimit(rect r,int x,int y,colmat col,umkrec u,scrntype scrn);
- void umk_255limit(rect r,int x,int y,byte col,umkrec u,scrntype scrn);
- void umk_limit(rect r,int x,int y,umkrec u,scrntype scrn);
- void umk_partial(int x,int y,byte amt,umkrec u,scrntype scrn);
- void umk_unpartial(int x,int y,byte amt,umkrec u,scrntype scrn);
- void umk_colour(int x,int y,byte c,umkrec u,scrntype scrn);
- void umk_colour2(int x,int y,byte c,umkrec u,scrntype scrn);
- void umk_robot(int x,int y,byte c,umkrec u,scrntype scrn);
- void umk_phase(int x,int y,umkrec u,scrntype scrn);
- void umk_shadow(int x,int y,colmat c,umkrec u,scrntype scrn);
- void umk_altern(int x,int y,colmat c,umkrec u,scrntype scrn);
- /* now flipped versions of all of those draw routines */
- void umk_flip(int x,int y,umkrec u,scrntype scrn);
- void umk_flip_solid(int x,int y,byte col,umkrec u,scrntype scrn);
- void umk_flip_limit(rect r,int x,int y,umkrec u,scrntype scrn);
- void umk_flip_partial(int x,int y,byte amt,umkrec u,scrntype scrn);
- void umk_flip_unpartial(int x,int y,byte amt,umkrec u,scrntype scrn);
- void umk_flip_colour(int x,int y,byte c,umkrec u,scrntype scrn);
- void umk_flip_colour2(int x,int y,byte c,umkrec u,scrntype scrn);
- void umk_flip_robot(int x,int y,byte c,umkrec u,scrntype scrn);
- void umk_flip_phase(int x,int y,umkrec u,scrntype scrn);
- void umk_flip_shadow(int x,int y,colmat c,umkrec u,scrntype scrn);
- void umk_flip_altern(int x,int y,colmat c,umkrec u,scrntype scrn);
-
- void shadowbox(int x,int y,int x2,int y2,scrntype scrn,colmat c);
- void shadowscr(scrntype scrn,colmat c);
-
- #endif
-